package com.bckj.fastboot.iot.biz.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.IotDeviceRequest;
import com.bckj.fastboot.iot.common.entity.IotDevice;
import org.mapstruct.Mapper;

/**
 * IotDeviceConvert
 *
 * @author wfc
 **/
@Mapper(config = MapStructConfig.class)
public interface IotDeviceConvert {

    IotDevice toEntity(IotDeviceRequest request);
}
